import tseslint from '@electron-toolkit/eslint-config-ts'
import eslintConfigPrettier from '@electron-toolkit/eslint-config-prettier'
import eslintPluginSolid from 'eslint-plugin-solid'
import { style } from 'solid-js/web'

export default tseslint.config(
  {
    ignores: ['**/node_modules', '**/dist', '**/out'],
    rules: {
      'linebreak-style': ['error', 'unix'],
    },
  },
  tseslint.configs.recommended,
  eslintPluginSolid.configs['flat/typescript'],
  eslintConfigPrettier
)
